org.globalplatform
Interface Personalization

All Superinterfaces:
javacard.framework.Shareable

public interface Personalization
extends javacard.framework.Shareable

This defines the interface that represents an applet method accessible through the OPEN to the Application's associated Security Domain. The Applet class that will use the additional functionality that allows a Security Domain to pass data to the applet and send back Applet’s data personalization must implement this interface.

Since:
export file version 1.2

Method Summary
 short processData(byte[] inBuffer, short inOffset, short inLength, byte[] outBuffer, short outOffset)
          This method processes Application specific data received from another entity on the card.
 

Method Detail

processData

short processData(byte[] inBuffer,
                  short inOffset,
                  short inLength,
                  byte[] outBuffer,
                  short outOffset)
This method processes Application specific data received from another entity on the card. If this other entity is the Application's associated Security Domain, this data is the APDU buffer.

Notes:

Parameters:
inBuffer - the source byte array containing the data expected by the applet. This buffer must be global.
inOffset - starting offset within source byte array.
inLength - length of data.
outBuffer - the out byte array where the data expected by the Off-Card Entity shall be set. This buffer shall be global.
outOffset - starting offset within out byte array
Returns:
The number of bytes set inoutBuffer at outOffset.
Throws:
Exceptions - thrown are Application specific.